﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Mypaper.aspx.cs" Inherits="UI.Mypaper" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script type="text/javascript" src="http://js.40017.cn/touch/cn/public/jquery-1.8.3.min.js"> </script>
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-default/index.css">
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <script src="public/my-menu.js"></script>
    <link href="public/list.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div id="app">
             <my-menu :model.sync="menuPageIndex"></my-menu>

            <div class="list_cont">
                <div class="list_check clearfix" style="width: 1212px; margin: 0px auto;">
                    <div class="list_tab">
                        <a href="javascript:;" class="active"><i class="box_icon"></i></a>
                        <a href="javascript:;"><i class="list_icon"></i></a>
                    </div>
                    <div class="list_sel">
<%--                        <div class="dropdown" id="state_sel__jQSelect0" tabindex="0">
                            <select id="state_sel" style="display: none;">
                                <option name="all" p_type="0" value="全部">全部</option>
                                <option name="survey" p_type="" value="问卷" selected="selected">问卷</option>
                                <!--315为迈外迪panelsite-->

                                <option name="form" p_type="1" value="表单">表单</option>
                                <option name="assess" p_type="2" value="测评">测评</option>

                            </select><div class="dropselectbox">
                                <h4 style="width: 50px;">问卷</h4>
                                <ul style="width: 66px; display: none;"></ul>
                            </div>
                        </div>--%>
                        <div class="dropdown" id="sort_sel__jQSelect1" tabindex="0">
                            <select id="sort_sel" style="display: none;">
                                <option sort="1" selected="selected">从新到旧</option>
                                <option sort="0">从旧到新</option>
                            </select><div class="dropselectbox">
                                <h4 style="width: 78px;">从新到旧</h4>
                                <ul style="width: 94px; display: none;"></ul>
                            </div>
                        </div>
                    </div>

                    <a href="/new/" class="new_create" style="display: none;">+新建</a>

                    <!-- <a href="javascript:;" class="btn_midAutumn_newyear">新年快乐！问卷网给您送红包</a> -->

                    <div class="list_sear">
                        <input type="text" id="search_txt" class="txt" value="输入标题搜索">
                        <input type="button" value="" id="search_btn" class="btn">
                    </div>

                </div>
                <div class="list_nr">
                    <div class="listBox hzBox" style="width: 1212px; margin: 0px auto; display: block;">
                        <ul class="clearfix ul_list" id="listHz" style="width: 1236px; margin-left: -20px;">
                            <li class="create" oldid="null" style="margin-left: 20px;"><a href="../QuetionEdit/QuestionEdit.aspx"><i></i>新建</a>

                            </li>

                            <li  class="hz survey" oid="586f010da320fc6aee054a1a" oldid="null" style="margin-left: 20px;"><i class="icon">问卷</i>
                                <a href="javascript:;" class="bt" title="1111">1111</a>
                                <span class="edit_time">8天前</span><div class="state clearfix">
                                    <span class="closed_icon"><i></i>未发布</span>
                                    <em>
                                        <span id="rspd_count_586f010da320fc6aee054a1a">0</span> 份数据
                                    </em>
                                </div>
                                <div class="operate_bar" type="问卷"><a class="hz_ico ico_edit ico_edit_0" data-name="编辑问卷" pid="586f010da320fc6aee054a1a"><i class="ico"></i></a>
                                    <a class="hz_ico ico_collect" data-name="收集数据" pid="586f010da320fc6aee054a1a"><i class="ico"></i></a>
                                    <a class="hz_ico ico_analysis" data-name="数据报表" pid="586f010da320fc6aee054a1a"><i class="ico"></i></a>
                                    <a class="hz_ico ico_more" pid="586f010da320fc6aee054a1a" fid="51dd234e9b9fbe6646bf4dd3" short_id="viIzQjw" data-title="1111" data-plugin="" data-typeen="survey"><i class="ico"></i></a>

                                </div>
                            </li>
                        </ul>
                    </div>
                    <div class="listBox lbBox" style="display: none; width: 1172px; margin: 0px auto;">
                        <table id="proj_list" class="table_list" width="100%" cellspacing="0" cellpadding="0"></table>
                        <div id="pagenum" class="pagenum"></div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>

<script>
    

    var vm = new Vue({
        el: '#app',
        data: { menuPageIndex: "2", userId:1},
        methods: {
            GetPageList: function() {
                var that = this;
                $.ajax({
                    type: "get",
                    url: "../QuetionEdit/AjaxCall.ashx",
                    data: {
                        'userId': this.userId,
                        'action': 'GetPageList', //方法名称
                    },
                    dataType: 'json',
                    success: function(data) {
                        //alert(msg)
                        that.requestData = data;
                    },
                    error: function(msg) {
                        alert("网络错误，请重新尝试！");
                    }
                });
            },
        },
        ready: function () {

        }
    });

   
</script>
